#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include <iostream>

int main(int argc, char** argv) {
    std::cout << "Starting WonderTrader Tests..." << std::endl;
    
    // 初始化Google Test
    ::testing::InitGoogleTest(&argc, argv);
    
    // 初始化Google Mock
    ::testing::InitGoogleMock(&argc, argv);
    
    // 运行所有测试
    int result = RUN_ALL_TESTS();
    
    if (result == 0) {
        std::cout << "All tests passed!" << std::endl;
    } else {
        std::cout << "Some tests failed!" << std::endl;
    }
    
    return result;
} 